.xxx {
    height: 100%;
    // 轮播图
    .slide {
        height: px2rem(640px);
        background-color: #eeeeee;
        .image {
            height: 100%;
            width: 100%;
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
        }
    }
    // 客户类型
    .custom-type {
        $height: 260px;
        background-color: #ffffff;
        margin: 60px 0 60px;
        .group {
            $padding-top-and-bottom: 50px;
            box-shadow: 0 0 10px #d2d2d2;
            border-radius: 10px;
            margin: 0 80px;
            padding: $padding-top-and-bottom 30px;
            cursor: pointer;

            .box {
                display: flex;
                height: px2rem(160px);
                &:hover {
                    .image {
                        transform: scale(1.1);
                    }
                    .infos {
                        .title {
                            color: #0073b6;
                        }
                    }
                }
            }
            .image {
                flex: 0 0 px2rem($height - $padding-top-and-bottom * 2);
                background-repeat: no-repeat;
                background-position: center center;
                background-size: cover;
                transition: all 0.2s;
            }
            .infos {
                flex: 1 1 100%;
                padding-left: 30px;

                .title {
                    font-size: 26px;
                    padding-bottom: 10px;
                }
                .sub-title {
                    font-size: 20px;
                    color: #888888;
                }
            }
        }
    }
    // 新闻动态
    .news-dynamic {
        background-color: #f8f8f8;
        padding-top: 40px;
        padding-bottom: 40px;
        $height: 380px;
        .left-box {
            position: relative;
            min-height: 200px;
            height: px2rem($height);
            background-color: #88aacc;
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
            .date {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                position: absolute;
                top: 0;
                left: 0;
                min-width: 70px;
                min-height: 70px;
                width: px2rem(120px);
                height: px2rem(120px);
                background-color: #e75112;
                color: #ffffff;
                .day {
                    font-size: 24px;
                }
            }
            .info {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                min-height: 50px;
                height: px2rem(70px);
                line-height: px2rem(70px);
                font-size: 18px;
                padding: 0 10px;
                color: #ffffff;
                background-color: rgba(112, 150, 161, 0.5);
            }
        }
        .right-box {
            height: px2rem($height);
            $height2: $height / 3;
            min-height: 200px;
            .list {
                display: flex;
                padding-left: 40px;
                min-height: 80px;
                height: px2rem($height2);
                cursor: pointer;
                &:hover {
                    .title {
                        color: #6facd2;
                    }
                }
                .date {
                    min-width: 80px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-direction: column;
                    flex: 0 0 px2rem($height2);
                    .day {
                        font-size: 24px;
                        color: #9a9a9a;
                    }
                    .year-month {
                        font-size: 18px;
                        color: #a7a7a7;
                    }
                }
                .text {
                    $height3: $height2 / 10;
                    flex: 1 1 100%;
                    border-bottom: 1px solid #dddddd;
                    .title {
                        transition: all 0.2s;
                        height: px2rem($height3 * 4);
                        line-height: px2rem($height3 * 4);
                        font-size: 22px;
                        overflow: hidden;
                        min-height: 24px;
                    }
                    .summary {
                        min-height: 52px;
                        height: px2rem($height3 * 6);
                        line-height: px2rem(($height3 * 6 - 12px) / 2);
                        overflow: hidden;
                        padding: 6px 0;
                        font-size: 16px;
                    }
                }
            }
        }
    }
    // 合作客户
    .cooperative-client {
        background-color: #ffffff;
        padding-top: 40px;
        padding-bottom: 40px;
        .box {
            transition: all 0.2s;
            height: px2rem(280px);
            border-right: 1px solid #dddddd;
            border-bottom: 1px solid #dddddd;
            cursor: pointer;
            &:hover {
                box-shadow: 0 0 10px #dcdcdc;
                border-radius: 4px;
            }

            &:nth-of-type(5n) {
                border-right: 0;
            }
            &:nth-of-type(6),
            &:nth-of-type(7),
            &:nth-of-type(8),
            &:nth-of-type(9),
            &:nth-of-type(10) {
                border-bottom: 0;
            }
            .media {
                height: 100%;
                .image {
                    height: px2rem(200px);
                    background-repeat: no-repeat;
                    background-position: center center;
                    background-size: auto 60%;
                }
                .text {
                    height: px2rem(80px);
                    line-height: px2rem(80px);
                    text-align: center;
                    font-size: 20px;
                    color: #666666;
                }
            }
        }
    }
}
@media screen and (max-width: $pc-breakpoint) {
    .xxx {
        .custom-type {
            margin: 20px 0;
            &.padding-wrap {
                padding: 0 10px;
            }
            .group {
                padding: 20px 30px;
                margin: 0 10px;
                .box {
                    height: px2rem(280px);
                    padding: 10px 0;
                    .image {
                        flex: 0 0 px2rem(240px);
                        width: px2rem(240px);
                    }
                }
                .infos {
                    .title {
                        font-size: 18px;
                    }
                    .sub-title {
                        font-size: 14px;
                    }
                }
            }
        }
        .news-dynamic {
            &.padding-wrap {
                padding: 0 20px;
            }
            .right-box {
                height: auto;
                .list {
                    padding-left: 0;
                    margin-top: 15px;
                    .date {
                        .year-month {
                            font-size: 12px;
                        }
                    }
                    .text {
                        .title {
                            font-size: 18px;
                            line-height: 24px;
                        }
                        .summary {
                            line-height: 24px;
                        }
                    }
                }
            }
        }
        .cooperative-client {
            &.padding-wrap {
                padding: 0 20px;
            }
            .box {
                &:nth-of-type(3n) {
                    border-right: 0;
                }
                &:nth-of-type(5n) {
                    border-right: 1px solid #dddddd;
                }
                &:nth-of-type(6),
                &:nth-of-type(7),
                &:nth-of-type(8),
                &:nth-of-type(9) {
                    border-bottom: 1px solid #dddddd;
                }
                &:nth-of-type(10) {
                    border-bottom: 0;
                }
                .media {
                    .text {
                        font-size: 12px;
                    }
                }
            }
        }
    }
}
// @media screen and (max-width: $mobile-breakpoint) {
//     .page-index {
//         .custom-type {
//             .group {
//                 margin-top: 10px;
//             }
//         }
//     }
//     .component-footer {
//         &.padding-wrap {
//             padding: 0 20px;
//         }
//     }
// }
